#ifndef CUSTOMSCENEXML_H
#define CUSTOMSCENEXML_H

#include <QObject>
#include <QMap>
#include <QStringList>
#include "BaseXml.h"
#include "DataType/CustomSceneStruct.h"

class CustomSceneXml : public BaseXml<CustomSceneXml>
{
public:
    friend class BaseXml<CustomSceneXml>;
    bool parser();
    bool modify(const CustomSceneStruct &customScene);
    bool clear();

    QList<ActionStruct> actionList(const quint64 &sceneId);

    QList<CustomSceneStruct> customSceneList() const;

private:
    CustomSceneXml();
    QList<CustomSceneStruct> m_customSceneList;
};

#endif // CUSTOMSCENEXML_H
